package ooday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student zg = new Student("张光",16,"深圳","jsd2406","001");
        zg.sayHi();
        Teacher ll = new Teacher("李林",20,"北京",7000.0);
        ll.sayHi();
        Doctor zl =new Doctor("赵亮",18,"广东","护士");
        zl.sayHi();
    }
}
